{include file="public/header" /}
{include file="public/menu" /}
<script src="__CSS__/layuiAdmin/layui/layui.js"></script>
<script src="__CSS__/jquery/jquery-3.3.1.min.js"></script>
<script src="http://cdn.highcharts.com.cn/highcharts/highcharts.js"></script>

<style type="text/css">
    .muenStyle{
        position: fixed;
        left:60px;
        background: white;
    }
    .muenStyle a{
        margin-left:3px;
        background:#2F4056;
    }
</style>

<script>
    layui.config({
        base: '__CSS__/layuiAdmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'console','sample']);

    $(".menuIcon a").hover(function(){
        var str = $("#LAY_app").attr('class');
        var top = $(this).offset().top + 1;
        This = $(this);
        if(str == 'layadmin-side-shrink'){
            This.siblings('.sonMeun').removeClass('layui-hide');
            This.siblings('.sonMeun').addClass('muenStyle');
            This.siblings('.sonMeun').css({"top":top});
        }
	},function(){
        This.siblings('.sonMeun').removeClass('muenStyle');
        This.siblings('.sonMeun').addClass('layui-hide');
	});
    $(".menuIcon").click(function(){
        This.siblings('.sonMeun').removeClass('muenStyle');
        This.siblings('.sonMeun').addClass('layui-hide');
    });
    $(".sonMeun").hover(function(){
        var str = $("#LAY_app").attr('class');
        if(str == 'layadmin-side-shrink'){
            $(this).removeClass('layui-hide');
            $(this).addClass('muenStyle');
        }
    },function(){
        $(this).addClass('layui-hide');
        $(this).addClass('muenStyle');
    });
    $(".sonMeun a").hover(function(){
        $(this).css({'background':'#5FB878'});
    },function(){
        $(this).css({'background':'#2F4056'});
    })
</script>